package com.itheima.domain.mongo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.bson.types.ObjectId;
import org.springframework.data.mongodb.core.mapping.Document;

import java.util.List;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class Soul implements java.io.Serializable{

    private static final long serialVersionUID = 2129820466911120995L;
    private ObjectId id;
    private Long userId;//测试者id
    private String name;//问卷名称
    private String cover;//封面
    private String level;//级别
    private Integer star;//星别（例如：2颗星，3颗星，5颗星）
    Integer isLock;//是否锁住（0解锁，1锁住）
    List<ObjectId> questionIds;//对应的题目id
}
